<?php
/**
 * 系統名稱: Lotto 系統
 * 檔案說明: 專案管理-修改
 * $Author$
 * $Id$
 *
 */
$strBT = trim($_data["Bet_Type"]);
$intGID = intval($_data["GambleID"]);
$isStopBet = intval($_data["isStopBet"]);

if($strBT == "" || $intGID < 1){
	$GLOBALS["errormessage"] = "Data Error!!";
	$GLOBALS["errorhidden"] = "\nBetType:".$strBT."\nGambleID:".$intGID."\nLottoID:".$intLottoID."\nLine:".__LINE__."\nPage:".__FILE__;
	ErrMsgOutputHTML("LoginError", "", 1);
}
if(!StopLayerAllRealBet($intGID, $intLottoID, $strBT, $isStopBet, $_data["strLottoNumber"], $_SESSION["Admin_Info"] -> ID))ErrMsgOutputHTML("LoginError", "", 1);
$strLog = "操盤序號：".$intGID."\n";
$strLog .= "下注種類：".$strBT."\n";
$strLog .= "是否停押：".$isStopBet."\n";
$strLog .= "停押號碼：".$_data["strLottoNumber"]."\n";
AddData_Log($_SESSION["Admin_Info"] -> ID, "停押", $strLog);
?>